package com.magnificent.panda.model.generator.log.tax;

import com.magnificent.panda.model.generator.log.TaxLogParser;

/**
 * User: Babanin
 * Date: 07.10.2010
 * Time: 11:34:01
 */
public class TaxLogElement {
    private int[] start;
    private int[] end;

    public TaxLogElement(int[] start, int[] end) {
        this.start = start;
        this.end = end;
    }

    public int[] getStart() {
        return start;
    }

    public int[] getEnd() {
        return end;
    }

    public String toString() {
        StringBuilder builder = new StringBuilder();

        builder.append("Start: ");
        for (int i : start) {
            builder.append(i).append(" ");
        }

        builder.append("\t\tEnd: ");

        for (int i : end) {
            builder.append(i).append(" ");
        }

        return builder.toString();
    }
}

  /* converted to utf8 */